package com.example.memo.Bean;

public class noteBean {

private  String id;
    private String bt;
    private String neirong;
    private String create_time;
    private String update_time;
    private String img;
    private String fenglei;


    public noteBean(String id, String bt, String neirong, String create_time, String update_time, String img, String fenglei) {
        this.id = id;
        this.bt = bt;
        this.neirong = neirong;
        this.create_time = create_time;
        this.update_time = update_time;
        this.img = img;
        this.fenglei = fenglei;
    }

    public noteBean() {

    }

    public  String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBt() {
        return bt;
    }

    public void setBt(String bt) {
        this.bt = bt;
    }

    public String getNeirong() {
        return neirong;
    }

    public void setNeirong(String neirong) {
        this.neirong = neirong;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getFenglei() {
        return fenglei;
    }

    public void setFenglei(String fenglei) {
        this.fenglei = fenglei;
    }

    public String trim() {
        StringBuffer buffer = new StringBuffer();
        buffer.append(this.bt);
        buffer.append(", ");
        buffer.append(this.neirong);
        String result= buffer.toString().trim();
        return result;
    }

    @Override
    public String toString() {
        return "noteBean{" +
                "id='" + id + '\'' +
                ", bt='" + bt + '\'' +
                ", neirong='" + neirong + '\'' +
                ", create_time='" + create_time + '\'' +
                ", update_time='" + update_time + '\'' +
                ", img='" + img + '\'' +
                ", fenglei='" + fenglei + '\'' +
                '}';
    }
}
